/* 将每个结构的最外层容器的宽度设置为100% */
header,
nav,
main,
footer {
    width: 100%;
}

/* 版心1200px */
.w1200 {
    width: 1200px;
    margin: 0 auto;
}

.page_header {
    background-color: #003f87;
}

nav {
    background-color: #ebebeb;
}


/* 头部logo和搜索框 */
.is_header {
    display: flex;
    justify-content: space-between;
    height: 143px;
    align-items: center;
}

/* 头部右侧搜索框 */
.search {
    display: flex;
    align-items: center;
    background-color: #ffffffcc;
    border-radius: 4px;
}

/* 头部右侧搜索框的输入框部分 */
.search input {
    width: 140px;
    padding: 6px 0px 6px 10px;
    font-size: 14px;
    color: #999;
    border: none;
    background-color: transparent;
}

/* 头部右侧搜索框的图片部分 */
.search img {
    width: 33px;
    height: 33px;
}

/* 一级导航栏水平排列 */
nav>ul {
    display: flex;
    justify-content: space-between;
}

nav ul li a {
    display: inline-block;
    width: 100px;
    height: 46px;
    text-align: center;
    line-height: 46px;
    font-size: 18px;
}

/* 激活的显示状态 */
.active {
    background-color: #003f87;
    color: white;
}

/* 悬浮时的展示 */
nav li:hover a {
    background-color: #003f87;
    color: white;
}

/* 二级菜单垂直排列并隐藏 */
nav .sub-menu {
    display: none;
    flex-direction: column;
    background-color: #003f87;
    position: absolute;
    z-index: 999;
}

/* 一级菜单悬浮时显示对应的二级菜单*/
nav>ul>li:hover .sub-menu {
    display: block;
}

/* 二级菜单a元素的设置 */
nav .sub-menu li a {
    height: 40px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}


.carousel {
    position: relative;
    overflow: hidden;
}

/* 轮播图图片区域 */
.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
}

.carousel-slide a,
.carousel-slide img {
    height: 300px;
    display: block;
    width: 100%;
}

.carousel-slide a,
.carousel-slide img {
    height: 300px;
    display: block;
    width: 100%;
}


/* 鼠标放入轮播图区域，出现左右箭头 */
.carousel:hover .carousel-prev img,
.carousel:hover .carousel-next img {
    opacity: 0.8;
}

/* 左右箭头 */
.carousel-prev img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0;
    transition: all 1s ease;
}

.carousel-next img {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0;
    transition: all 1s ease;
}

/* 主体区域 */
.main-continer-top {
    display: flex;
    justify-content: space-between;
}

/* 学院新闻 */
.news {
    width: 800px;
    margin-top: 14px;
}

/* 学院新闻头部部分 */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.news .news-header  a {
    color: #666;
}

.news-header .left {
    display: flex;
    align-items: center;
}

.news-header .title {
    font-size: 20px;
    color: #1565c0;
    margin-left: 14px;
}

.news-header img {
    width: 36px;
    height: 36px;
}

/* 学院新闻轮播图部分 */
.news article {
    display: flex;
    position: relative;
}

.news article .left {
    display: flex;
    width: 340px;
    overflow: hidden;
}

.news article .left li figure {
    width: 340px;
}

.news article .left li figcaption {
    padding: 6px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.news article .left li figcaption:hover {
    color: #418fd8;
}

.news article .left li img {
    height: 212px;
}

.news article .left li p {
    color: #666;
    text-align: center;
    margin: 0 40px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
}


/* 左侧轮播图指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 190px;
    bottom: 130px;
}

.carousel-indicators .indicator-item {
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 12px;
    background-color: #868e96;
    color: white;
    opacity: 0.7;
    padding: 2px;
    margin-right: 4px;
}

.carousel-indicators .active {
    background-color: #2b88d8;
}


/* 学院新闻右侧新闻标题栏 */
.news article .right {
    width: 460px;
}

.news article .right li {
    margin: 0 0 19px 19px;
}

.news article .right li a {
    display: flex;
    justify-content: space-between;
}

.news article .right li a:hover {  
    color: #418fd8;
}


/* 通知公告部分 */
.notice {
    width: 400px;
    margin-top: 14px;
    padding-left: 20px;
}

.notice-header {
    margin-bottom: 14px;
}

.notice article ul li {
    display: flex;
    margin-bottom: 18px;
}

.notice article ul li a:hover {
    color: #418fd8;
}

.notice article ul li .date-top {
    width: 74px;
    height: 34px;
    line-height: 34px;
    color: white;
    text-align: center;
    background-color: #014089;  
    letter-spacing: 2px;
}

.notice article ul li .date-bottom {
    width: 74px;
    height: 34px;
    line-height: 34px;
    color: white;
    text-align: center;
    background-color: #07acf9;
    letter-spacing: 2px;
}

.notice article ul li a {
    margin-left: 20px;
    letter-spacing: 2px;
    color: black;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-header  a {
    color: #666;
}

.notice-header .left {
    display: flex;
    align-items: center;
}

.notice-header .left img {
    width: 36px;
    height: 36px;
}

.notice-header .title {
    font-size: 20px;
    color: #1565c0;
    margin-left: 14px;
}


.main-continer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 48px;
}

/* 专题网站部分 */
.special-website {
    width: 800px;
}

.special-website-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.special-website-header .left {
    display: flex;
    align-items: center;
}

.special-website-header a {
    color: #666;
}

.special-website-header .left img {
    width: 36px;
    height: 36px;
}

.special-website-header .title {
    font-size: 20px;
    color: #1565c0;
    margin-left: 14px;
}

.special-website article {
    margin-top: 20px;
}

.special-website article ul {
    display: flex;
    justify-content: space-between;
}

.special-website article li img{
    width: 220px;
    height: 80px;
}


/* 侧边导航部分 */
.side-nav {
    width: 400px;
    margin-top: 14px;
}

.side-nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.side-nav ul li {
    width: 120px;
    height: 77px;
    text-align: center;
}

.side-nav ul li img {
    width: 40px;
    height: 40px;
}

.side-nav ul li figcaption:hover {
    color: #418fd8;
}

/* 底部部分 */
footer {
    height: 165px;
    background-color: #003f87;
    display: flex;
    align-items: center;
}


footer .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .info .left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

footer .remark {
    margin-left: 20px;
    font-size: 14px;
    color: aliceblue;
}

footer .picture {
    display: flex;
    padding-right: 20px;
    border-right: 1px solid white;
}

footer .picture div {
    height: 80px;
    width: 80px;
}

footer .picture div:nth-child(1) {
    background-image: url(../../jsjxy.jxnu.edu.cn-v1/images/shiye.png);
    background-size: contain;
}

footer .picture div:nth-child(2) {
    background-image: url(../../jsjxy.jxnu.edu.cn-v1/images/jxnu.png);
    background-size: contain;
}

footer .picture div:nth-child(3) {
    background-image: url(../../jsjxy.jxnu.edu.cn-v1/images/xueyuan.png);
    background-size: contain;
}

footer .right {
    margin-right: 36px;
}

footer .code {
    height: 80px;
    width: 80px;
    background-image: url(../../jsjxy.jxnu.edu.cn-v1/images/weixin.jpg);
    background-size: contain;
}

footer .weixin {
    width: 80px;
    height: 28px;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 28px;
}

